import * as ecs from '@esengine/ecs-framework';

type Vec2 = {
    x: number;
    y: number;
};

@ecs.ECSComponent('LocalTransform')
export class LocalTransform extends ecs.Component {
    constructor(public position: Vec2, public scale: Vec2, angle: number) {
        super();
    }
}
